/**
 * 系统设置相关
 */
const state = () => {
    let allMenus = [], // 左边菜单列表
        openMenus = [{ key: '/home', path: ['主页'], title: '主页', closable: false}], // 打开菜单列表
        activeMenu = {}, // 当前激活菜单
        activeKey = '/home'
    return {
        allMenus, openMenus, activeMenu, activeKey
    }
}

export default {
    state
}